<?php
/* @var $this HorizontalexitsController */
/* @var $model Horizontalexits */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'horizontalexits-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'WidthOfDoors'); ?>
		<?php echo $form->textField($model,'WidthOfDoors'); ?>
		<?php echo $form->error($model,'WidthOfDoors'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DoorConstruction'); ?>
		<?php echo $form->textField($model,'DoorConstruction',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'DoorConstruction'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'WithVisionPanel'); ?>
		<?php echo $form->textField($model,'WithVisionPanel'); ?>
		<?php echo $form->error($model,'WithVisionPanel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DoorSwingingInTheDirectionOfEgressTravel'); ?>
		<?php echo $form->textField($model,'DoorSwingingInTheDirectionOfEgressTravel'); ?>
		<?php echo $form->error($model,'DoorSwingingInTheDirectionOfEgressTravel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'WithSelfClosingDevice'); ?>
		<?php echo $form->textField($model,'WithSelfClosingDevice'); ?>
		<?php echo $form->error($model,'WithSelfClosingDevice'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'WidthOfControlCorridorsOrHallways'); ?>
		<?php echo $form->textField($model,'WidthOfControlCorridorsOrHallways'); ?>
		<?php echo $form->error($model,'WidthOfControlCorridorsOrHallways'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CorridorConstruction'); ?>
		<?php echo $form->textField($model,'CorridorConstruction',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'CorridorConstruction'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CorridorWallsExtendedFromSlabToSlab'); ?>
		<?php echo $form->textField($model,'CorridorWallsExtendedFromSlabToSlab'); ?>
		<?php echo $form->error($model,'CorridorWallsExtendedFromSlabToSlab'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ProperlyIlluminated'); ?>
		<?php echo $form->textField($model,'ProperlyIlluminated'); ?>
		<?php echo $form->error($model,'ProperlyIlluminated'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ExitReadilyVisible'); ?>
		<?php echo $form->textField($model,'ExitReadilyVisible'); ?>
		<?php echo $form->error($model,'ExitReadilyVisible'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ClearAndUnobstructed'); ?>
		<?php echo $form->textField($model,'ClearAndUnobstructed'); ?>
		<?php echo $form->error($model,'ClearAndUnobstructed'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ProperlyMarkedWithIlluminatedExitSign'); ?>
		<?php echo $form->textField($model,'ProperlyMarkedWithIlluminatedExitSign'); ?>
		<?php echo $form->error($model,'ProperlyMarkedWithIlluminatedExitSign'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'WithIlluminationDirectionalSign'); ?>
		<?php echo $form->textField($model,'WithIlluminationDirectionalSign'); ?>
		<?php echo $form->error($model,'WithIlluminationDirectionalSign'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ProperlyLocated'); ?>
		<?php echo $form->textField($model,'ProperlyLocated'); ?>
		<?php echo $form->error($model,'ProperlyLocated'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
		<?php echo $form->error($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->